home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ply15dat.zip / DITHER.PI < prev    next >
Text File  |  1992-09-19  |  742b  |  30 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,0,-8>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 45
  10.    hither 1
  11.    resolution 256, 256
  12.    }
  13.  
  14. background <0, 0, 0>
  15. light <-10, 30, -5>
  16.  
  17. include "..\colors.inc"
  18.  
  19. define unit_sphere object { sphere <0, 0, 0>, 1 }
  20.  
  21. // A bunch of spheres floating around
  22. unit_sphere { dither 0.5 translate <-1, 0.5, 2> shiny_orange }
  23. unit_sphere { dither 0.5 translate < 1, 0.8, 2> shiny_red }
  24. unit_sphere { translate <-3, 1, 4> shiny_yellow }
  25. unit_sphere { dither 0.7 translate < 3, -0.75, 3> shiny_blue }
  26. unit_sphere { dither 0.75 matte_white }
  27.  
  28. // Ground plane
  29. object { disc <0, -1.5, 0>, <0, 1, 0>, 0, 1000 matte_white }
  30.